package com.yuda.campsite.mapper;

import com.yuda.campsite.domain.RegisteredUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.*;
/**
 * @Author: xiaohudie
 * @Date: 2021/11/24 10:18
 * @Version: 1.8
 */
@Mapper
public interface RegisteredUserMapper {
/**返回条件查询的注册用户*/
public List<RegisteredUser> registerView(@Param("params") Map<String, Object> params,
                                         @Param("provinceName") String provinceName,
                                         @Param("cityName") String cityName,
                                         @Param("studentName") String studentName,
                                         @Param("schoolName") String schoolName,
                                         @Param("qisi") Integer qisi,
                                         @Param("offset") Integer offset);
    /**修改学生的学习审核资料的存放地址*/
    public int shengheUrl(@Param("achievementPath") String achievementPath,
                          @Param("campsiteId") String campsiteId,
                          @Param("idCard") String idCard);
    /**FenHao将学生账号进行封禁*/
    public int FenHao(@Param("isDisable") String isDisable,
                      @Param("phone") String phone);
    /**isFenhao查询学生是否被封号*/
    public String isFenhao(@Param("phone")String phone);

    int getCount(@Param("params") Map<String, Object> params,
                 @Param("provinceName")String provinceName, @Param("cityName") String cityName, @Param("studentName")String studentName, @Param("schoolName")String schoolName);

}
